/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package POJO;

import java.io.Serializable;
import java.util.Date;

/**
 *
 * @author nhóm 1 - 10HT
 */
public class HoaDon implements Serializable {

	private int _maHD;
	private Date _ngayLap;
	private double _triGia;
	private double _soTienGiam;
	private int _trangThai;
	private int _maNVPhuTrach;
	private int _maKH;

	public HoaDon(HoaDon tmp) {
		this._maHD = tmp._maHD;
		this._ngayLap = tmp._ngayLap;
		this._triGia = tmp._triGia;
		this._soTienGiam = tmp._soTienGiam;
		this._trangThai = tmp._trangThai;
		this._maNVPhuTrach = tmp._maNVPhuTrach;
		this._maKH = tmp._maKH;
	}

	public HoaDon() {
		this._maHD = 0;
		this._ngayLap = new Date(1900, 1, 1);
		this._triGia = 0;
		this._soTienGiam = 0;
		this._trangThai = 0;
		this._maNVPhuTrach = 0;
		this._maKH = 0;
	}

	public HoaDon(int _maHD, int _trangThai, int _maNVPhuTrach, int _maKH) {
		this._maHD = _maHD;
		this._ngayLap = new Date(1990, 1, 1);
		this._triGia = 0;
		this._soTienGiam = 0;
		this._trangThai = _trangThai;
		this._maNVPhuTrach = _maNVPhuTrach;
		this._maKH = _maKH;
	}

	public HoaDon(int _maHD, Date _ngayLap, int _trangThai, int _maNVPhuTrach, int _maKH) {
		this._maHD = _maHD;
		this._ngayLap =_ngayLap;
		this._triGia = 0;
		this._soTienGiam = 0;
		this._trangThai = _trangThai;
		this._maNVPhuTrach = _maNVPhuTrach;
		this._maKH = _maKH;
	}

	public HoaDon(int _maHD, Date _ngayLap, double _triGia, double _soTienGiam, int _trangThai, int _maNVPhuTrach, int _maKH) {
		this._maHD = _maHD;
		this._ngayLap = _ngayLap;
		this._triGia = _triGia;
		this._soTienGiam = _soTienGiam;
		this._trangThai = _trangThai;
		this._maNVPhuTrach = _maNVPhuTrach;
		this._maKH = _maKH;
	}

	public int getMaHD() {
		return _maHD;
	}

	public void setMaHD(int _maHD) {
		this._maHD = _maHD;
	}

	public Date getNgayLap() {
		return _ngayLap;
	}

	public void setNgayLap(Date _ngayLap) {
		this._ngayLap = _ngayLap;
	}

	public double getTriGia() {
		return _triGia;
	}

	public void setTriGia(Float _triGia) {
		this._triGia = _triGia;
	}

	public double getSoTienGiam() {
		return _soTienGiam;
	}

	public void setSoTienGiam(Float _soTienGiam) {
		this._soTienGiam = _soTienGiam;
	}

	public int getTrangThai() {
		return _trangThai;
	}

	public void setTrangThai(int _trangThai) {
		this._trangThai = _trangThai;
	}

	public int getMaNVPhuTrach() {
		return _maNVPhuTrach;
	}

	public void setMaNVPhuTrach(int _maNVPhuTrach) {
		this._maNVPhuTrach = _maNVPhuTrach;
	}

	public int getMaKH() {
		return _maKH;
	}

	public void setMaKH(int _maKH) {
		this._maKH = _maKH;
	}
}
